package com.ruoyi;

import cn.wildfirechat.pojos.GetUserSessionResult;
import cn.wildfirechat.pojos.OutputGetChatroomInfo;
import cn.wildfirechat.pojos.OutputGroupIds;
import cn.wildfirechat.pojos.OutputStringList;
import cn.wildfirechat.sdk.ChatroomAdmin;
import cn.wildfirechat.sdk.GroupAdmin;
import cn.wildfirechat.sdk.RelationAdmin;
import cn.wildfirechat.sdk.UserAdmin;
import cn.wildfirechat.sdk.model.IMResult;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.List;

//@RunWith(SpringRunner.class)
@SpringBootTest
public class test {

    @Test
    public void f() throws Exception {
//        IMResult<GetUserSessionResult> userSession = UserAdmin.getUserSession("15cb02565d834a4ea78f09912401436e");
//        IMResult<OutputGetChatroomInfo> chatroomInfo = ChatroomAdmin.getChatroomInfo("a8b80cafe38d4a65b199264238123e7f");

//        IMResult<Void> voidIMResult = ChatroomAdmin.setChatroomMute("a8b80cafe38d4a65b199264238123e7f", false);
        IMResult<Void> voidIMResult = ChatroomAdmin.setChatroomManager("a8b80cafe38d4a65b199264238123e7f", "15cb02565d834a4ea78f09912401436e",1);
    }


}
